/**
 * 
 */
package com.et114.modules.products.commons;

import com.et114.components.acegi.Constants;


/**
 * @author guanhw
 */
public class Const extends Constants {
	public static final  String PRO_TYPE_CACHE_KEY = "B_ProType" ;
	public static final  String PRO_CELLPHONE_SYSTEM_CACHE_KEY = "B_CP_CellPhone_OperSystem" ;
	
	public static final byte PRO_TYPE_CELLPHONE = 1 ; 
	public static final byte PRO_TYPE_CART = 4 ; 
	public static final byte PRO_TYPE_TV = 2 ; 
	public static final byte PRO_TYPE_SS = 3 ; 
	public static final byte PRO_TYPE_NETBOOK = 5 ; 
	
	public static final byte PRO_ACTION_SUB = 0x1 ;// 1;提交，2：发布；3提交发布；5：预览 ；4：强制下架
	public static final byte PRO_ACTION_PUB = 0x2 ;
	public static final byte PRO_ACTION_SUB_PUB = 0x3 ;
	public static final byte PRO_ACTION_YULAN = 0x5 ;
	public static final byte PRO_ACTION_OUT = 0x4 ;
	public static final byte PRO_ACTION_SUB_CHECK = 0x9 ;
	
	public static final byte PRO_PUB_STATUS_PUB_WAIT = 0x1;  // 等待发布
	public static final byte PRO_PUB_STATUS_PUBED = 0x2; //已发布
	public static final byte PRO_PUB_STATUS_PUB_OUT = 0x3; //下架
	
	public static final String PRO_SUPPLIER_IMG_UPLOAD_PATH = "/upload/supplier/image/" ; 
	public static final String PRO_CARD_IMG_UPLOAD_PATH = "/upload/pro/card/image/" ; 
	public static final String PRO_DIGITALTV_IMG_UPLOAD_PATH = "/upload/pro/digitaltv/image/" ; 
	public static final String PRO_SECURITY_IMG_UPLOAD_PATH = "/upload/pro/security/image/" ; 
	public static final String PRO_PUB_IMG_UPLOAD_PATH = "/upload/pro/public/image/" ; 
	public static final String PRO_PUB_IMG_SMALL_UPLOAD_PATH = "/upload/pro/public/imagesmall/" ;
	public static final String PRO_BRANDS_IMG_UPLOAD_PATH = "/upload/pro/brands/public/image/" ; 
	public static final String PRO_SLIDER_IMG_UPLOAD_PATH = "/upload/pro/slider/image/" ; 
	
	public static final String DIC_PRO_TYPE_KEY = "B_ProType" ; 
	public static final String DIC_COMMON_STATUS_KEY = "common.status" ; 
	public static final String DIC_B_CP_CellPhoneBrands_KEY = "B_CP_CellPhoneBrands" ; 
	public static final String DIC_B_PRO_Color_KEY = "B_CP_CellPhoneColor" ; //
	public static final String DIC_B_PRO_Color_HEX_KEY = "PRO_COLOR_HEX" ;
	
	public static final String DIC_COMMON_CONTENT_TYPE = "COMMON_CONTENT_TYPE" ;
	public static final byte   DIC_COMMON_CONTENT_TYPE_NEWS = 0x1 ;
	public static final byte   DIC_COMMON_CONTENT_TYPE_FAQ = 0x2 ;
		
	public static final String DIC_B_SS_Type_KEY = "B_PRO_SS_Type" ; //安防系统类型key
	public static final String DIC_B_PRO_PUB_STATUS_KEY = "B_PRO_PUB_STATUS" ;  //产品发布状态
	public static final String DIC_B_PRO_DT_TYPE = "B_PRO_DT_TYPE" ;  //卫星电视类型key
	public static final String DIC_B_PRO_CARD_TYPE = "B_PRO_CARD_TYPE" ;  //信用卡类型key
	public static final String DIC_B_PRO_CARD_SERVICE_PLAN = "B_PRO_CARD_SERVICE_PLAN" ; //信用卡服务计划key
	public static final String DIC_B_PRO_SERVICE_PLAN_KEY = "B_PRO_SERVICE_PLAN" ;  //产品服务计划
	public static final String DIC_COMMON_HTML_SELECT = "COMMON_HTML_SELECT" ;//COMMON
	public static final String DIC_B_PRO_CELLPHONE_PRICE = "B_PRO_CELLPHONE_PRICE" ; 
	public static final String DIC_B_PRO_NETBOOK_PRICE = "B_PRO_NETBOOK_PRICE" ; 
	
	
	public static final byte COMMON_HTML_SELECT_M = 0x1 ; //多选
	public static final byte COMMON_HTML_SELECT_S = 0x2 ; //单选
	public static final byte COMMON_HTML_SELECT_T = 0x3 ; //输入框
	
	public static final byte COMMON_STATUS_DIS = 0x0 ;   //禁用
	public static final byte COMMON_STATUS_ENA = 0x1 ;   //启用
	
	public static final byte COMMON_REMOVE_MARK_Y = 0x1; 
	public static final byte COMMON_REMOVE_MARK_N = 0x0; 
	
	
	public static final String FLG_FOR_GET_BASEINFO = "baseinfo" ; 
	public static final String FLG_FOR_GET_SUBJINFO = "subjinfo" ; 
	public static final String FLG_FOR_GET_CONTENTINFO = "contentinfo" ;
	
	
	public static final int AJAX_ERROR_LOAD_BASEIFO = 100000 ; //加载基本信息失败
	public static final int AJAX_ERROR_LOAD_SUBJ = 100002 ; //加载摘要失败
	public static final int AJAX_ERROR_LOAD_CONTENT = 100003 ;//加载内容失败
	public static final int AJAX_ERROR_LOAD_SERVICES = 100004 ; //加载服务失败
	public static final int AJAX_ERROR_LOAD_PRO_OFF= 100005 ; //已经下架
	public static final int AJAX_ERROR_LOAD_PRO_NOTFOUND= 100006 ; //商品找不到
	
	
	//
	public static final String PARAM_TYPE_Base_Features = "Base_Features" ;
	
	public static final int PAGE_SIZE_Q = 6 ; 
	
	public static final String SESSION_LANGUAGE_KEY = "SESSION_LANGUAGE_KEY"  ; 
	public static final String SESSION_LOCALE_KEY = "SESSION_LOCALE_KEY"  ; 
	public static final String SESSION_COUNTRY_KEY = "SESSION_COUNTRY_KEY"  ; 
	
	public static final Long CONTENT_NEWS_TYPE_NEWSCENTER = 1L ; 
	public static final Long CONTENT_NEWS_TYPE_SERVICE = 20L ; 
	
	public static final byte CONTENT_NEWS_TYPE_GLOBAL_NEWS = 1 ; 
	public static final byte CONTENT_NEWS_TYPE_GLOBAL_FAQ = 2 ; 
	public static final byte CONTENT_NEWS_TYPE_GLOBAL_SERVICE = 3 ;
	
	public static final byte USER_MANAGER_USERFLG_REG = 5;
	
	public static final String SESSION_USER_KEY = "SESSIOIN_USER_KEY_Q" ; 
	
	public static final int IMAGE_SUOLIE_WIDTH = 100 ;
	public static final int IMAGE_SUOLIE_HEIGHT = 100 ;
}
